Don't test datetime in locales with no encoding
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +0000)
committerJochen Sprickerhof <jspricke@debian.org>
Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +0000)
commit157e1f95bc7bc5db2de2b75d92faed1ce72ee93a
tree941654857695defa21cb92bf2df0b0319c82198d
parentcb79ceb2daf2b4b62582a79ea85fd495b924b54a
Don't test datetime in locales with no encoding

Some datetime tests run the test in every available locale.
If this set includes locales without an encoding (currently dsb_DE
and sah_RU), it fails due to Python bug
https://bugs.python.org/issue20088

Failure log
https://tests.reproducible-builds.org/debian/rbuild/buster/amd64/pandas_0.23.3+dfsg-3.rbuild.log.gz

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug: https://github.com/pandas-dev/pandas/issues/20957
Forwarded: no

Gbp-Pq: Name skip_noencoding_locales.patch
pandas/_config/localization.py